package com.atguigu.rabbitmq.producer.entiry;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.amqp.rabbit.connection.CorrelationData;

/**
 * Author ChenYongSheng
 * Date 2025/11/2 15:17
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class GlobalCorrelationData extends CorrelationData {

    private String exchange;

    private String routingKey;

    private String content;

    private Integer reCount =0;
    // 新增死信队列 默认值为false ，false会走失败重试机制
    private Boolean isDelay = false;

}
